package com.woniu.exception.admin;

import com.woniu.exception.YuJiaException;

public class AdminException extends YuJiaException {
    public AdminException(Integer code, String message) {
        super(code, message);
    }

    public AdminException(AdminExceptionCode ecode) {
        super(ecode.getCode(), ecode.getMessage());
    }
}
